package com.quanyan.orderpay.request;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @author songzj
 * @date 16/6/3-17:13
 */
public class ReqPayInfo implements Serializable {
    @NotNull
    private Integer payId;
    @NotNull
    private BigDecimal amount;
    private String payType; //支付类型说明
    //订单类型(优惠券使用)
    private Byte orderType;
    //项目类型(优惠券使用)
    private Byte sportType;
    //城市
    private Integer cityId=0;
    //具体唯一标识(如优惠券CODE)
    private String subjectCode;
    //场馆ID
    private Integer placeId=0;
    // 适用支付方式  1：场馆会员卡 2：普通支付
    private Byte paymethod = 2;

    //订单场地时间列表，时间格式为 2017-04-14 08:00,2017-04-14 10:00
    private List<String> placeDateTimeList = new ArrayList<>();

    public Byte getPaymethod() {
        return paymethod;
    }

    public void setPaymethod(Byte paymethod) {
        this.paymethod = paymethod;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }



    public String getSubjectCode() {
        return subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public Byte getSportType() {
        return sportType;
    }

    public void setSportType(Byte sportType) {
        this.sportType = sportType;
    }

    public Byte getOrderType() {
        return orderType;
    }

    public void setOrderType(Byte orderType) {
        this.orderType = orderType;
    }



    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public List<String> getPlaceDateTimeList() {
        return placeDateTimeList;
    }

    public void setPlaceDateTimeList(List<String> placeDateTimeList) {
        this.placeDateTimeList = placeDateTimeList;
    }
}
